<?php
/**
 * Created by PhpStorm.
 * User: W
 * Date: 2018/2/24
 * Time: 16:57
 */

namespace app\console\controller;

use app\common\controller\Console;

class Logout extends Console {

    public function index() {
        session('admin_session',null);
        $this->redirect(url('login/index'));
    }

}
